import random
import string


# 生成随机字符串

def gen_str():
    s = ''.join(random.choices(string.ascii_letters, k=random.randint(1, 90)))
    t = ''.join(random.choices(string.ascii_letters, k=random.randint(1, 10)))
    s = s + t
    list_str = [s, t]
    return list_str

# 随机生成整数数组
def gen_list():
    n = random.randint(1, 100)
    list_ = [random.randint(1, 100) for _ in range(n)]
    return list_

def generate_nums():
    length = random.randint(1, 1000)
    nums = [random.randint(0, 10**6) for _ in range(length)]
    return nums
nums = generate_nums()
def generate_m(nums):
    return random.randint(1, min(50, len(nums)))

def gen_str1():
  random_str =''
  randomlength = random.randint(1,10)
  base_str ='abcdefg'
  length =len(base_str) -1
  for i in range(randomlength):
    random_str +=base_str[random.randint(0, length)]
  return random_str

def gen_str2():
  random_str =''
  randomlength = random.randint(1,10)
  base_str ='abcdefg'
  length =len(base_str) -1
  for i in range(randomlength):
    random_str +=base_str[random.randint(0, length)]
  return random_str

test_data = {
    "max_str": gen_str(),
    "isMatch": [["aa", "aa", "ab"], ["a", "a*", ".*"]],
    "split_list": gen_list(),
    'nums': generate_nums(),
    'm': generate_m(nums),
    "str1":gen_str1(),
    "str2":gen_str2()
}

if __name__ == '__main__':
    print(test_data["max_str"])